package com.fcat.common.user.vo;

import com.fcat.common.user.entity.User;
import lombok.Data;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * Created by ssen on 2020/6/10
 */
@Data
public class UserVO extends User {
    //证书id
    private Long certificateId;
    //资格证书编号
    private String certificateCode;
    //部门id
//    private Long organizationId;
    //部门
    private String organizationName;
    private String companyName;
    private Date certifiedTime;
    private String certifiedName;
    private String certificateRegType;
    private String certificateFileId;
    private Date certificateValidityTime;
    private String companyUnitCategory;
    private List<RoleMap> roleMaps = new ArrayList<>();


    @Data
    public static class RoleMap {
        private String id;
        private String name;
    }
}
